<!DOCTYPE html>
<html lang="en" style="font-size: 37.5px">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <link rel="stylesheet" href="./index.css">
</head>
<body>
    <div id="banner"></div>

    <script>
        function adapter(){
            let f = document.documentElement.clientWidth / 10;
            document.documentElement.style.fontSize = f + 'px';
        }        

        adapter();
        window.onresize = adapter;
    </script>
</body>
</html>